package com.anlgin.anl_tea.service;

import com.anlgin.anl_tea.entities.Address;
import com.anlgin.anl_tea.entities.User;

import java.util.List;

public interface ILoginService {

    public User findUserByTel(User user);
    public User findUserByEmail(User user);
    public User findUserById(User user);
    public void InsertUser(User user);
    public List<Address> getAddressList(User user);
    public void insertAddress(Address address);
    public void cancelDefault(User user);
    public void setDefault(Address address);
    public void updateUser(User user);
    public User getByUsername(String  username);
}
